package ch.zbw.pra.sysventory.ui.gui.utilities;

import java.awt.Font;

public class DefaultFonts {
	public enum FontType {
		BIG, MEDIUM, SMALL, SPECIAL1
	};

	private final Font fontBig;
	private final Font fontMedium;
	private final Font fontSmall;
	private final Font fontSpecial1;

	// private Font fontError;

	public DefaultFonts() {
		super();
		this.fontBig = new Font("Verdana", Font.PLAIN, 20);
		this.fontMedium = new Font("Verdana", Font.PLAIN, 14);
		this.fontSmall = new Font("Verdana", Font.PLAIN, 10);
		this.fontSpecial1 = new Font("Verdana", Font.PLAIN, 8);
		// fontError = new Font("Verdana", Font.PLAIN, 20);

	}

	public Font getFont(FontType fontType) {
		switch (fontType) {
		case BIG:
			return this.fontBig;
		case MEDIUM:
			return this.fontMedium;
		case SMALL:
			return this.fontSmall;
		case SPECIAL1:
			return this.fontSpecial1;
		}
		return null;
	}
}
